package org.linlinjava.litemall.admin.vo.shop;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * @author wj
 * @date 2021/8/27 9:52
 */
public class PromotionUpdateProportionVo {

    @NotNull(message = "商品id不能为空")
    private Integer goodsId;

    private Integer type;

    private BigDecimal proportion;

    private BigDecimal fixed;

    @NotNull(message = "店铺id不能为空")
    private Integer shopId;


    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public BigDecimal getProportion() {
        return proportion;
    }

    public void setProportion(BigDecimal proportion) {
        this.proportion = proportion;
    }

    public BigDecimal getFixed() {
        return fixed;
    }

    public void setFixed(BigDecimal fixed) {
        this.fixed = fixed;
    }

    public Integer getShopId() {
        return shopId;
    }

    public void setShopId(Integer shopId) {
        this.shopId = shopId;
    }
}
